Skip to contentSkip to conversation

questions about flush data to disk.

DISCUSSION Michael 2 participants 2 messages Jun 14, 2016

lore
Share & tools
lore

Michael

author
#0 lore raw

Dear SGI,

I’m trying to backup XFS partition SUSE 12 with XFS_PROGS 3.2.1, when we do snapshot of the partition. The created snapshot always have problem by run “xfs_repair –n /dev/VG/snapshot”. I have tried “sync” didn’t flush cache to disk. Then tried to umount and mount the XFS partition the snapshot looks fine. Can you tell me another way to force XFS flush cached data to disk?

Best Regards

Michael(Ning)Wang

----------------------------------------------------------------------------
-------------------------------------------

说明: cid:_Foxmail.1@95d58f00-9e62-93f7-6199-b1696cc80320

ADVANCED SYSTEMS DEVELOPMENT CO.,LTD.

3/F DASCOM Mansion, 9# East Road Shangdi, Haidian, Beijing, 100085

Tel:010-62981691-1234, 010-62980000, 010-82780000

Fax:010-62981258

E-mail: <mailto:[email protected]> [email protected]

Http: <http://www.asdc.com.cn/> www.asdc.com.cn

说明: cid:_Foxmail.1@e1a38f84-0fa5-04a6-9e7c-c5842b6ca2fa

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw

Michael,

SGI is no longer the maintainer for XFS in the open source community. XFS is maintained by Dave Chinner and developed and enhanced by a large community of contributors.

Reference the manpage for the xfs_freeze command to help stabilizing your filesystem before
generating a snapshot. Quoting the manpage, "xfs_freeze is intended to be
used with volume managers and hardware RAID devices that support the creation of snapshots."

Thanks,
Troy McCorkell

________________________________
From: [email protected] [[email protected]] on behalf of Michael [[email protected]]
Sent: Monday, June 13, 2016 8:50 PM
To: [email protected]
Subject: questions about flush data to disk.

Dear SGI,

I’m trying to backup XFS partition SUSE 12 with XFS_PROGS 3.2.1, when we do snapshot of the partition. The created snapshot always have problem by run “xfs_repair –n /dev/VG/snapshot”. I have tried “sync” didn’t flush cache to disk. Then tried to umount and mount the XFS partition the snapshot looks fine. Can you tell me another way to force XFS flush cached data to disk?

Best Regards
Michael(Ning)Wang
-----------------------------------------------------------------------------------------------------------------------
[?明: cid:_Foxmail.1@95d58f00-9e62-93f7-6199-b1696cc80320] ADVANCED SYSTEMS DEVELOPMENT CO.,LTD.
3/F DASCOM Mansion, 9# East Road Shangdi, Haidian, Beijing, 100085 Tel:010-62981691-1234, 010-62980000, 010-82780000 Fax:010-62981258 E-mail:[email protected]<mailto:[email protected]> Http:www.asdc.com.cn<http://www.asdc.com.cn/>
[?明: cid:_Foxmail.1@e1a38f84-0fa5-04a6-9e7c-c5842b6ca2fa]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs